#include <stdio.h>
#include <stdlib.h>

int main()
{
	/*******************code*******************/
	// fscanf()  读取文本文件
	FILE *fp = fopen("getc__.txt", "r");
	if (!fp)
	{
		exit(EXIT_FAILURE);
	}
	char words[21];
	while (fscanf(fp, "%20s", words) == 1)
	{
		fprintf(stdout, "%s ");
	}
	/******************************************/
	printf("\n\n****************************\n");
	printf("Press Enter key to continue\n");
	getchar();
	return 0;
	/******************************************/
}
